﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="WebApplication1.Login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
   
 
    <form id="form1" runat="server" >
        <div>
            <asp:Label runat="server" Text="用户名："></asp:Label>
            <asp:TextBox runat="server" ID="txtUsername"></asp:TextBox>
        </div>
        <div>
            <asp:Label runat="server" Text="密码："></asp:Label>
            <asp:TextBox runat="server" ID="txtPassword"></asp:TextBox>
        </div>
        <div>
            <asp:Button ID="btnLogin" runat="server" Text="登录" OnClick="btnLogin_Click"/>
            <asp:Button ID="btnRegister" runat="server" Text="注册" OnClick="btnRegister_Click"/>
        </div>
        <div>
            <asp:Label runat="server" ID="lblComment" ForeColor="Red"></asp:Label>
        </div>
    </form>
</body>
</html>
